<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
            <title>后盾问答</title>
            <meta name="keywords" content="后盾问答"/>
            <meta name="description" content="后盾问答"/>
            {HD: include file="../Common/header.html"}
            {HD: js file='show.js'}
            {HD: css file='question.css'}
            <div id='location'>
                <a href="{HD: $smarty.const.__ROOT__}?c=List&cid=0">全部分类</a>
                {HD: section loop=$cate_list name=n}
                {HD: if !$smarty.section.n.last}
                &gt;&nbsp;<a href="{HD: $smarty.const.__ROOT__}?c=list&cid={HD: $cate_list[n].cid}">{HD: $cate_list[n].title}</a>
                {HD: else}
                &gt;&nbsp;{HD: $cate_list[n].title}&nbsp;&nbsp;
                {HD: /if}
                {HD: /section}
            </div>

            <!--------------------中部-------------------->
            <div id='center-wrap'>
                <div id='center'>
                    <div id='left'>
                        <div id='answer-info'>
                            {HD: if $accept.accept==1}
                            <div class='ans-state'></div>
                            {HD: else}
                            <div class='ans-state wait'></div>
                            {HD: /if}
                            <div class='answer'>
                                <p class='ans-title'>{HD: $askItem.content}
                                    <b class='point'>{HD: $askItem.reward}</b>
                                </p>
                            </div>
                            <ul>
                                <li><a href="">{HD: $askItem.username}</a></li>
                                <li><i class='level lv1' title='Level 1'></i></li>
                                <li>{HD: $askItem.time|date_format:"%Y-%m-%d %H:%M"}</li>

                            </ul>
                            {HD: if $askItem.solve==0}
                            <div class='ianswer'>
                                <form action="" method='POST' id='answer_form'>
                                    <p>我来回答</p>
                                    <input type="hidden" id='ask_uid' name="ask_uid" value="{HD:$askItem.uid}"/>
                                    <input type="hidden" id='ask_id' name="ask_id" value="{HD:$smarty.get.asid}"/>
                                    <input type="hidden" id='now_uid' name="now_uid" value="{HD: $smarty.session.uid}"/>
                                    <input type="hidden"  name='cid' value="{HD: $askItem.cid}"/>
                                    <textarea name="content"></textarea>
                                    <input type="submit" value='提交回答' id='anw-sub'/>
                                </form>
                            </div>
                            {HD: /if}
                            <!-- 满意回答 -->
                            {HD: if $accept_res}
                            <div class='ans-right'>
                                <p class='title'><i></i>满意回答<span></span></p>
                                <p class='ans-cons'>{HD: $accept_res.con}</p>
                                <dl>
                                    <dt>
                                        <a href=""><img src="{HD:$smarty.const.__FRAME__}/{HD: $accept_res.face}" width='48' height='48'/></a>
                                    </dt>
                                    <dd>
                                        <a href="">{HD: $accept_res.username}</a>
                                    </dd>
                                    <dd><i class='level lv1'></i></dd>
                                    <dd>{HD: $accept_res.percent*100|round:0}%</dd>
                                </dl>
                            </div>
                            {HD: /if}
                            <!-- 满意回答 -->
                        </div>

                        <div id='all-answer'>
                            <div class='ans-icon'></div>
                            <p class='title'>共 <strong>{HD: $answer_num.c}</strong> 条回答</p>
                            <ul>
                                {HD: section loop=$ask_answer name=m}
                                <li>
                                    <div class='face'>
                                        <a href="">
                                            <img src="{HD:$smarty.const.__FRAME__}/{HD: $ask_answer[m].face}" width='48' height='48'/>
                                            {HD: $ask_answer[m].username}
                                        </a>
                                    </div>
                                    <div class='cons blue'>
                                        <p>{HD: $ask_answer[m].ha}<span style='color:#888;font-size:12px'>&nbsp;&nbsp;{HD: $ask_answer[m].time|date_format:'%Y-%m-%d %H:%M'}</span></p>
                                    </div>
                                    {HD: if $ask_answer[m].uid ==$smarty.session.uid && $accept.solve!=1}
                                    <a href="{HD: $smarty.const.__ROOT__ }?c=Show&m=accept&anid={HD: $ask_answer[m].anid }" class='adopt-btn'>采纳</a>
                                    {HD: /if}
                                </li>
                                {HD: /section}
                            </ul>
                            <div class='page'>
                                <a href="">1</a>
                                <a href="">2</a>
                                <a href="">3</a>
                                <a href="">4</a>
                            </div>
                        </div>
                        <div id='other-ask'>
                            <p class='title'>待解决的相关问题</p>
                            <table>
                                {HD: section loop=$unsolve name=n}
                                <tr>
                                    <td class='t1'><a href="">{HD: $unsolve[n].content }</a></td>
                                    <td>{HD: $unsolve[n].answer }&nbsp;回答</td>
                                    <td>{HD: $unsolve[n].time|date_format:'%Y-%m-%d %H:%M' }</td>
                                </tr>
                                {HD: /section}
                            </table>
                        </div>
                    </div>
                    <!-- 右侧 -->
                    {HD: include file="../Common/right.html"}
                    <!-- ---右侧结束---- -->

                </div>

            </div>

            <!--------------------中部结束-------------------->

            <!-- 底部 -->
            <div id='bottom'>
                <p>Copyright © 2013 Qihoo.Com All Rights Reserved 后盾网</p>
                <p>京公安网备xxxxxxxxxxxx</p>
            </div>
            <!--[if IE 6]>
                <script type="text/javascript" src="{HD: $smarty.const.__PUBLIC__}/Js/iepng.js"></script>
                <script type="text/javascript">
                    DD_belatedPNG.fix('.logo','background');
                    DD_belatedPNG.fix('.nav-sel a','background');
                    DD_belatedPNG.fix('.ask-cate i','background');
                </script>
            <![endif]-->
            </body>
            </html>
            <!-- 底部结束 -->